package com.wlyuan.open.dto;

import com.wlyuan.open.OpenBaseSyncDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

/**
 * @author yuanzheng
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class OpenUserSyncDTO extends OpenBaseSyncDTO implements Serializable {
    private static final long serialVersionUID = 7319388655468536673L;
    private String name;
    private Integer type;
    private String mobile;
    private String email;
    private String account;
    private String password;
    private String nick;
    private Integer gender;
    private LocalDate birthday;
    private String department;
    private String position;
    private Integer status;
    private List<Long> roles;

    @ApiModelProperty("微信昵称")
    private String nickName;
    @ApiModelProperty("微信头像")
    private String portrait;
    @ApiModelProperty("openid")
    private String openId;
    @ApiModelProperty("是否需要别名登录")
    private Integer isAlias;
}
